﻿#ifndef WIDGET_H
#define WIDGET_H
#include <QMainWindow>
#include "FindFundNameThread.h"
class TableWindow;
class FundInfoDockWidget;
class FindHistoryDockWidget;
//class QStandardItemModel;
class QButtonGroup;
class QPushButton;
//class QSpinBox;
//class QTableView;
class MainWindow : public QMainWindow
{
    Q_OBJECT
public:
    MainWindow(QWidget *parent = nullptr);
    void DockWidget();
    TableWindow* tableWindow();
    ~MainWindow();
    FundInfoDockWidget* FundInfoDock();
    FindHistoryDockWidget* FindHistoryDock();
public slots:
    void showMessage(const QString& info,const int timeout);
private:
    FindFund m_FindFund;
    TableWindow* m_TableWindow=nullptr;
    FundInfoDockWidget* m_FundInfoDockWidget = nullptr;
    FindHistoryDockWidget* m_FindHistoryDockWidget = nullptr;
};
#endif // WIDGET_H
